import { localUrl, baseUrl, grayUrl } from './config';
import { oldHTTP } from './api';

function getBjxq(data: any): Promise<any> {
    let requestUrl = `${baseUrl}/interfaces/bjxq.do`;
    return oldHTTP.post(requestUrl, data)
}

// 上传图片
const addBanJianInfoPicture = function (data: any): Promise<any> {
    let requestUrl = `${baseUrl}/haoChaPingController/addBanJianInfoPicture.do`;
    return oldHTTP.post(requestUrl, data, "uploadFile");
};


export { getBjxq, addBanJianInfoPicture };